#ifndef IMAGESETTING_H
#define IMAGESETTING_H

#include "AppLog.h"

#define IMAGE_SETTING_ITEM_COUNT    (15)

namespace RuntimeData {
class ImageSetting
{
public:
    static ImageSetting* getInstance();
    int g_settingItemValue[6][IMAGE_SETTING_ITEM_COUNT];/* 共6种镜子，每种镜子有15项参数需要配置 */

    void loadImageSettingInfo();
    void saveImageSettingToRom(int mirrorType);
    void recoverDefalutImageSettingInfo(int mirrorType);
    void readImageSettingInfoByRom(int mirrorType);
private:
    ImageSetting();

    void __loadImageSettingInfo(int mirrorType);

    void setDefalutImageSettingInfo(int mirrorType);
};
}

#endif // IMAGESETTING_H
